import React from 'react'
import { ArrowLeft } from '@react-vant/icons';
// import {withRouter } from "react-router-dom"
import Withrouter from '../utils/withrouter';
function Header(props) {
  console.log(props);
  return (
    <div className='header'>
            <ArrowLeft onClick={()=>{props.Withrouter.history.go(-1)}} />
    </div>
  )
}

export default Withrouter(Header)